<!DOCTYPE html>
<html>
<head>
	<title>收货地址管理</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<link rel="stylesheet" href="css/common.css">
	<link rel="stylesheet" href="css/user.css">
	<style type="text/css">[v-cloak]{display: none;}</style>
</head>
<body class="address ">
<div id="app" v-cloak>
	<ul class="address_list">
		<li class="justify pad_usual">
			<div class="info">
				<p>
					<span class="name">罗欣</span>
					<span class="number">148938290754</span>
					<span class="default">已设置为默认</span>
				</p>
				<p class="user_address ellipse">
					四川省成都市成华区某某路56号某某小区
				</p>
			</div>
			<div class="edit_box">
				<span class="edit_btn btn"  @click="goAddress(2)">编辑</span>
			</div>
		</li>
		<li class="justify pad_usual">
			<div class="info">
				<p>
					<span class="name">罗欣</span>
					<span class="number">148938290754</span>
					<!--<span class="default">已设置为默认</span>-->
				</p>
				<p class="user_address ellipse">
					四川省成都市成华区某某路56号某某小区
				</p>
			</div>
			<div class="edit_box">
				<span class="edit_btn btn"  @click="goAddress(2)">编辑</span>
			</div>
		</li>
	</ul>
	<div class="btn add_btn mt_1rem"  @click="goAddress(1)">添加新地址</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/vue.min.js"></script>
<script src="js/public.js"></script>
<script type="text/javascript">
var app = new Vue({
	el:"#app",
	data:{},
	methods:{
        goAddress:function (i) {
			location.href="address_add.html?type="+i;
        }
	},
	created:function(){},
	mounted:function(){}
})	

</script>
</body>
</html>